package com.my.ext.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.my.ext.entity.Admin;

@Repository
public interface AdminMapper {

	Admin login(@Param("admin") String admin);
	
	int saveAdmin(@Param("admin") Admin admin);
	
	List<Admin> findAll();
	
}
